<%@page import="java.text.DateFormat"%>
<%@ page import='java.util.Date'%>

<!DOCTYPE HTML>
<html>
	<head>
		<title>Primera página Web</title>
		<meta charset='UTF-8' />
		<link rel='stylesheet' type='text/css' href='css/reset.css'>
		<link rel='stylesheet' type='text/css' href='css/structure.css'>
	</head>
	<body>
		
		
	
	
		<form class='box login' method='post' action='crearAlumno'>
			<fieldset class='boxBody'>
				<label>DNI</label>
				<input type='text' name='dni' id='dni' tabindex='1' required> 
				<label>Nombre</label> 
				<input type='text' name='nombre' id='nombre' tabindex='2' required>
				<label>Apellido 1</label> 
				<input type='text' name='apellido1' id='apellido1' tabindex='3' required>
				<label>Apellido 2</label> 
				<input type='text' name='apellido2' id='apellido2' tabindex='4' required>
				<label>Edad</label> 
				<input type='text' name='edad' id='edad' tabindex='5' required>
				<label>Email</label> 
				<input type='text' name='email' id='email' tabindex='6' required>
			</fieldset>
			<footer>
				<input type='submit' class='btnLogin' value='Entrar' tabindex='7'>
				<% if ( request.getAttribute("msg") != null ){	%>
					<div class="box">
						<p><%= request.getAttribute("msg") %></p>
					</div>				
				<% } //end if %>
			</footer>		
			
		</form>
		<footer id='main'> 	<%java.util.Calendar fecha = java.util.Calendar.getInstance();
	out.println("Ipartek | | Servicios inform&aacute;ticos || " + fecha.get(java.util.Calendar.YEAR)); %> </footer>
	</body>
</html>
